import pymysql
import xlrd
import openpyxl

def get_data(i):
    file_path = "../data/申请网贷.xls"
    wb = xlrd.open_workbook(filename=file_path)
    sheet = wb.sheet_by_index(i)
    data = []
    for i in range(1,sheet.nrows):
        row = []
        for j in range(3):
            row.append(sheet.cell_value(i, j))
        data.append(row)

    return data

print(get_data(0))
print(get_data(1))
print(get_data(2))
print(get_data(3))
print(get_data(4))